﻿<!DOCTYPE html>
<html lang="cn">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<!-- 以上三个meta标签必须放在最前 -->

		<!-- Bootstrap -->
		<link href="__CSS__/bootstrap.min.css" rel="stylesheet">

		<!--[if lt IE 9]>
    <script src="__JS__/html5shiv.min.js"></script>
    <script src="__JS__/respond.min.js"></script>
    <![endif]-->

		<title><{$title}></title>
		<link rel="stylesheet" type="text/css" href="__ICSS__/style.lun.css" />
		<link rel="stylesheet" type="text/css" href="__ICSS__/style_6c2b1db9_9_common.css">
		<link rel="stylesheet" type="text/css" href="__ICSS__/style_6c2b1db9_9_forum_index.css">
		<script src="__JS__/jquery-1.8.3.min.js"></script>
		<style>
			.qt_tips_box {
				background: #f0fbff;
				border: 1px solid #7ea0cd;
				color: #7ea0cd;
				padding: 0 20px 0 10px;
				text-align: right;
				position: absolute;
			}
			
			.qt_tips_box a.qt_tips_close {
				color: #8aa8d2;
				position: absolute;
				right: 5px;
				top: 0;
				line-height: 21px;
			}
			
			.qt_tips_arrow {
				position: absolute;
				background: url(http://ossweb-img.qq.com/images/qtalk/app/discuz/arrow.png) no-repeat 0 0;
				width: 6px;
				height: 5px;
				line-height: 2000px;
				overflow: hidden;
				top: -5px;
				right: 5px;
			}
			
			body {
				background: url(__IMG__/index_bg.jpg) no-repeat center 0;
			}
			
			#hd .wp .hdc h2 img {
				display: none;
			}
			
			#hd .wp .hdc h2 a {
				display: block;
				width: 320px;
				height: 80px;
			}
			
			#hd h2 {
				padding: 0 0px 8px 0;
			}
			
			#dl {
				width: 80px;
				height: 70px;
				background: #C7CDCD;
				border-radius: 3px;
				border: 1px solid #A8A9A8;
				color: white;
				margin-right: 10px;
			}
			
			#xiao {
				width: 600px;
				height: 360px;
				background: white;
				position: fixed;
				top: 200px;
				left: 400px;
				z-index: 100;
				display: none;
				border: 5px solid #CCCCCC;
			}
			
			#tou {
				width: 590px;
				height: 50px;
				background: #F7F7F7;
				line-height: 50px;
				cursor: move;
			}
			
			#b {
				font-size: 20px;
				color: #337AB7;
				padding-left: 20px;
			}
			
			#guan {
				width: 35px;
				height: 35px;
				font-size: 35px;
				cursor: pointer;
				float: right;
			}
			
			#xia {
				width: 400px;
				height: 250px;
				border: 2px solid #EEEEEE;
				margin: 20px 0 0 95px;
			}
			
			#xia form {
				margin-top: 20px;
			}
			
			#zm {
				font-size: 20px;
				margin-left: 140px;
			}
			
			#tishi {
				color: red;
				margin-left: 140px;
			}
		</style>
	</head>

	<body>

		<div id="toptb" class="cl">
			<div class="wp">
				<div class="container">
					<div class="row">
						<div class="col-md-7">
							<a class="" onclick="alert('请按Ctrl+D')">收藏本站</a>
						</div>

					</div>
				</div>
				<div id="hd">
					<div class="wp">
						<div class="hdc cl">
							<div class="aaa" style="margin-top:20px;"></div>

							<div class="container">
								<div class="row">
									{if condition="$Request.session.user.name == ''"}
									<div class="col-md-3 col-md-offset-8">
										<a id="dl" class="btn" onclick="kai()">登录</a>
										<a href="<{:url('login/index')}>" id="dl" class="btn" target="_blank">注册</a>
									</div>
									{else}
									<div class="col-md-2 col-md-offset-7">
										<a href=""><span class="glyphicon glyphicon-user"></span></a>
										<a href="<{:url('user/index',array('id'=>$Request.session.user.id))}>" id="add"><{$Request.session.user.name}></a>
										<script>
										var add = document.getElementById('add');
										if (add.innerHTML.length > 3) {
											add.innerHTML = add.innerHTML.substr(0,3)+'...';
										}
										</script>
										<a href="<{:url('personal/index',array('id'=>$Request.session.user.id))}>">设置</a>
										<a href="<{:url('login/out')}>">退出</a>
										<br>
										
										<a href="">等级:<span>
											{if condition="$Request.session.user.type == 0"}普通会员
											{elseif condition="$Request.session.user.type == 1"}VIP会员
											{else}版主
											{/if}	
										</span></a>
									</div>
										<div class="col-md-2">
										{if condition="$Request.session.user.img == ''"}
											<img src="__UIMG__/u0.png" width="40%" style="margin-top:-10%;margin-right:50%;border-radius:5px">
										{else}
											<img src="__UIMG__/<{$Request.session.user.img}>" width="66px" height="66px;" style="margin-top:-10%">
										{/if}
										</div>
									{/if}
								</div>
							</div>
							<div id="xiao">
								<div id="tou">
									<b id="b">请登录</b>
									<b onclick="guan()" id="guan">×</b>
								</div>
								<div id="xia">
									<form action="" method="post" class="form-horizontal" id="form" onsubmit="return false">
										<div class="form-group">
											<p id="zm">账号密码登录</p>
											<b id="tishi"></b>
										</div>

										<div class="form-group">
											<label for="inputphone" class="col-sm-3 control-label">账号</label>
											<div class="col-sm-7">
												<input type="text" name="phone" class="form-control" id="inputphone" placeholder="请输入您的账号">

											</div>
										</div>
										<div class="form-group">
											<label for="inputPassword" class="col-sm-3 control-label">密码</label>
											<div class="col-sm-7">
												<input type="password" name="pass" class="form-control" id="inputPassword" placeholder="请输入您的密码">
											</div>
										</div>
										<div class="form-group">
											<div class="col-sm-offset-2 col-sm-10">
												<button type="submit" class="btn btn-success" id="button" style="width:250px;">登录</button>
											</div>
										</div>
									</form>
								</div>
							</div>
							<script>
								// 登录请求
								button.onclick = function() {
										if(/^[1][34578][0-9]{9}$/.test(inputphone.value)) {
											if(inputPassword.value != "") {
												$(function(){
													$.ajax({
														type:'post',
														url:"<{:url('login/dl')}>",
														data:"phone="+inputphone.value+"&pass="+inputPassword.value,
														dataType: 'json',
														success:function(data){
															if (data == 0) {
																$("#tishi").html("账号或密码错误");
															}else if (data == 2) {
																$("#tishi").html("账号已经被冻结");
															}else{
																location.reload();
															}
														}
													})
													
												})
											} else {
												tishi.innerHTML = "密码不能为空";
											}
										} else {
											tishi.innerHTML = "账号格式错误";
										}
									}
									// 点击登录
								function kai() {
									xiao.style.display = 'block';
								}
								//关闭登录
								function guan() {
									xiao.style.display = 'none';
								}
								var tou = document.getElementById('tou');
								var xiao = document.getElementById('xiao');
								tou.onmousedown = function(en) {
									var en = en || window.event;
									// 算出鼠标相对于xiao盒子的距离
									var left = en.clientX - xiao.offsetLeft;
									var top = en.clientY - xiao.offsetTop;
									document.onmousemove = function(env) {
										var env = env || window.event;
										// 鼠标位置-鼠标相对于xiao盒子的距离 移动鼠标时 盒子的左上角就不会跟着鼠标
										var x = env.clientX - left;
										var y = env.clientY - top;
										if(x < 0) {
											x = 0;
										}
										if(y < 0) {
											y = 0;
										}
										if(x > 1038) {
											x = 1038;
										}
										if(y > 470) {
											y = 470;
										}
										xiao.style.top = y + 'px';
										xiao.style.left = x + 'px';
									}

								}
								document.onmouseup = function() {
									document.onmousemove = null;
								}
							</script>

							<div class="fastlg cl">
								<span id="return_ls" style="display:none"></span>
								<div class="y pns">
								</div>
								<style>
									.y.pns {
										display: none
									}
									
									.ptlogin_simple {
										float: right
									}
									
									.ptlogin_simple button {
										width: 75px;
									}
									
									.scbar_txt {
										height: 40px;
									}
								</style>
							</div>

						</div>
						<div class="row" style="width:957px;margin-left:1px;">
							<ul class="daohang">
								<li style="border-radius: 4px;">
									<a href="<{:url('index/index')}>" title="BBS">论坛首页</a>
								</li>
								<li>
									<a href="http://lol.qq.com/main.shtml" target="_blank">官网首页</a>
								</li>
								<li>
									<a href="http://weibo.com/lol" target="_blank">官方微博</a>
								</li>
								<li>
									{if condition="$Request.session.user.type eq null "}
									<a class="" onclick="alert('请先登录')" style="cursor:pointer;">视频站</a>
									{else}
									<a href="<{:url('video/index')}>">视频站</a>
									{/if}
								</li>
								<li>
									{if condition="$Request.session.user.type eq null "}
									<a class="" onclick="alert('请先登录')" style="cursor:pointer;">积分商城</a>
									{elseif condition="$Request.session.user.type eq 0 "}
									<a class="" onclick="alert('请先兑换VIP会员')" style="cursor:pointer;">积分商城</a>
									{else/}
									<a href="<{:url('goods/index')}>">积分商城</a>
									{/if}
								</li>
							</ul>
						</div>
						<div id="mu" class="cl">
						</div>
						<div id="scbar" class="cl" style="background:#FBFCFE;border-radius: 5px;">
							<form method="post" action="<{:url('search/index')}>" target="_blank">
								<table cellspacing="0" cellpadding="0">
									<tbody>
										<tr>
											<td class="scbar_icon_td">
												<img src="__IMG__/sousuo.jpg" alt="">
												</td>
											<td>
												<input type="text" name="search" id="scbar_txt" value=""class=" xg1" placeholder="请输入搜索内容" style="height: 30px;border: 1px solid #9DB0C2;padding:10px;">
											</td>
											<td class="scbar_type_td"></td>
											<td class="scbar_btn_td">
												<button type="submit" style="background:#E5EDF2;height:30px;margin:-4px 0 0 -18px;border:1px solid #9DB0C2" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2 xs2">搜索</strong></button>
											</td>
											<td class="scbar_hot_td">
											</td>
										</tr>
									</tbody>
								</table>
							</form>
						</div>
						<ul id="scbar_type_menu" class="p_pop" style="display: none;">
							<li>
								<a href="" rel="forum" class="curtype">帖子</a>
							</li>
						</ul>
					</div>
				</div>

				<div id="wp" class="wp">
					<div id="pt" class="bm cl">
						<a href="<{:url('index/index')}>"><img src="__IMG__/fangzi.jpg"> 论坛首页
						</a><em>»</em><b> <{$title}></b>
					</div>

				</div>

				<style id="diy_style" type="text/css"></style>

				<div class="wp">
					<!--[diy=diy1]-->
					<div id="diy1" class="area"></div>
					<!--[/diy]-->
				</div>

				<style>
					.temp {
						margin: 0px;
					}
					
					.pt1 {
						margin-bottom: 10px;
					}
					
					.pt1 .pt1_banner {
						float: left;
						border: 1px solid #ddd;
						padding: 5px 10px 10px 10px;
						padding-bottom: 0;
					}
					
					.pt1_banner h2 {
						margin-bottom: 5px;
					}
					
					.pt1 .pt1_banner .banner_img {
						float: left;
						width: 350px;
						height: 170px;
					}
					
					.pt1 .pt1_banner .pt1_banner_news {
						margin-left: 350px;
						width: 125px;
					}
					
					.pt1 .pt1_banner .slidebar div {
						float: left;
						width: 125px;
					}
					
					.pt1 .pt1_banner .slidebar div a {
						display: block;
					}
					
					.pt1 .pt1_banner .slidebar img {
						width: 125px;
						height: 50px;
						margin-bottom: 10px;
					}
					
					.pt1 .pt1_news {
						margin-left: 510px;
						border: 1px solid #DDDDDD;
						height: 268px;
					}
					
					.pt1_news .tb {
						margin-top: 0;
						padding-left: 0;
						line-height: 25px;
						border-bottom: 0;
						height: 25px;
						overflow: hidden;
						height: 25px;
					}
					
					.pt1 .pt1_news .pt1_news_1 {
						border-bottom: 1px dashed #e3e3e6;
						height: 80px;
						overflow: hidden;
					}
					
					.pt1 .pt1_news .pt1_news_1 h2,
					.pt1 .pt1_news .pt1_news_1 h2 a.link {
						font: bold 18px "Microsoft YaHei";
						margin-bottom: 10px;
						color: #ff9900
					}
					
					.pt1 .pt1_news .pt1_news_1 h2 a.link:hover {
						color: #ffb13b
					}
					
					.pt1 .pt1_news .pt1_news_1 .text a.link {
						color: #999999;
						line-height: 17px
					}
					
					.pt1 .pt1_news .pt1_news_1 .text a.link:hover {
						color: #3e91f3
					}
					
					.pt1 .pt1_news .pt1_news_list {
						margin-top: 10px
					}
					
					.pt1 .pt1_news .listol {
						padding: 10px;
					}
					
					.pt1 .pt1_news .tb li {
						height: 25px;
						margin: 0;
						border-right: 1px solid #FFFFFF;
					}
					
					.pt1 .pt1_news .tb li a {
						color: #666666;
						display: inline-block;
						height: 24px;
						line-height: 24px;
						float: left;
						background: none;
						border: 0;
					}
					
					.pt1 .pt1_news .tb li.a {
						background: #FFFFFF;
					}
					
					.pt1 .pt1_news .pt1_news_list li a:hover {
						color: #3e91f3
					}
					
					.pt1 .pt1_news .pt1_news_list li a.area {
						width: 75px
					}
					
					.pt1 .pt1_news .pt1_news_list li a.content {
						width: 270px
					}
					
					.pt1_news .lightitem a,
					.pt1_news .lightitem em a {
						color: #e9811a;
					}
					
					.pt1_news .nbg {
						background: #FFF;
					}
					
					.pt1_news .tb .a a {
						color: #a2875a;
						font-weight: normal;
						border: 0;
					}
					
					.daohang {
						height: 30px;
						background: #2873C2;
						margin: 0 auto;
						border-radius: 4px;
					}
					
					.daohang li {
						float: left;
						padding-left: 20px;
						line-height: 30px;
						padding-right: 20px;
						display: inline-block;
						border-radius: 4px;
					}
					
					.daohang li a {
						font-weight: 700;
						color: white;
					}
				</style>

				<div id="ct" class="wp cl">
					<div id="chart" class="bm bw0 cl">

						<p class=" z"><em><img src="__IMG__/shuju.jpg"></em> &nbsp;帖子: <em><{$notenum}></em><span>&nbsp;|&nbsp;</span>用户: <em><{$usernum}></em></p>
						<div class="y">
							<a href="\forum.php?mod=guide&amp;view=new" title="查看新帖" class="xi2">查看新帖</a>
						</div>
					</div>

					<div class="pt1 cl">
						<div class="pt1_banner" style="float: left;">
						<h2 class="txt-green xw0">最新热图</h2>
						<div class="focusl" id="focus">
							<div class="left">
								<ul>
									<li class="active" style="opacity:1; filter:alpha(opacity=100);">
										<p>图一</p><img src="__IIMG__/lun1.gif" width="340px" height="230px" /></li>
									<li>
										<p>图二</p><img src="__IIMG__/lun2.gif" width="340px" height="230px" /></li>
									<li>
										<p>图三</p><img src="__IIMG__/lun3.gif" width="340px" height="230px" /></li>
									<li>
										<p>图四</p><img src="__IIMG__/lun4.gif" width="340px" height="230px" /></li>
								</ul>
							</div>
							<div class="right">
								<ul>
									<li class="active"><img class="i1" src="__IIMG__/lun1.gif" width="125px" height="50px" /></li>
									<li><img class="i2" src="__IIMG__/lun2.gif" width="125px" height="50px" /></li>
									<li><img class="i3" src="__IIMG__/lun3.gif" width="125px" height="50px" /></li>
									<li><img class="i4" src="__IIMG__/lun4.gif" width="125px" height="50px" /></li>
								</ul>
							</div>
						</div>
						<!-------轮播图jq------------>
						<script type="text/javascript">
							$(function() {
								var oFocus = $('#focus'),
									oRight = oFocus.find('.right'),
									oLeft = oFocus.find('.left'),
									aRLi = oRight.find('li'),
									aLLi = oLeft.find('li'),
									index = 0,
									timer = null;
								aRLi.click(function() {
									index = $(this).index()
									$(this).addClass('active').siblings().removeClass();
									aLLi.eq(index).addClass('active').siblings().removeClass();
									aLLi.eq(index).stop().animate({
										'opacity': 1
									}, 300).siblings().stop().animate({
										'opacity': 0
									}, 300);
									stopFoucs();
								})
								oLeft.mouseenter(function() {
									stopFoucs();
								}).mouseleave(function() {
									startFocus();
								});
								timer = setInterval(function() {
									startFocus();
								}, 3000);

								function startFocus() {
									index++;
									index = index > aRLi.size() - 1 ? 0 : index;
									aLLi.eq(index).addClass('active').siblings().removeClass();
									aLLi.eq(index).stop().animate({
										'opacity': 1
									}, 300).siblings().stop().animate({
										'opacity': 0
									}, 300);
									aRLi.eq(index).addClass('active').siblings().removeClass();
								}

								function stopFoucs() {
									clearInterval(timer);
								}
							})
						</script>
						<!-------轮播图jq结束------------>
						</div>
						<!-----新闻样式-------->
						<script type="text/javascript">
							$(document).ready(function(e) {
						        $(".tab li").click(function(){
									$(".tab li").eq($(this).index()).addClass("activ").siblings().removeClass("activ");
									$(".tabCon div").hide().eq($(this).index()).show();
								})
						    });
						</script>
						<style type="text/css">
							.table_card { width:450px; height: 270px;float: right;}
							.table_card .tab { height:25px; font-size:14px; border-bottom:1px #e1e1e1 solid}
							.table_card .tab li { float:left; height:24px; line-height:24px; padding:0 25px; margin-right:5px; background:#f0f0f0; border-top:1px #e1e1e1 solid; border-left:1px #e1e1e1 solid; border-right:1px #e1e1e1 solid;}
							.table_card .tab li:hover { height:24px; background:#fff; color:#333; cursor:pointer}
							.table_card .activ { height:24px !important; background:#fff !important; color:#333}
							.table_card .tabCon {width: 448px;height: 240px; background:#fff; padding:12px; border-bottom:1px #e1e1e1 solid; border-left:1px #e1e1e1 solid; border-right:1px #e1e1e1 solid;}
							.table_card .tabCon div { display:none}
							.table_card .tabCon .on { display:block}
							.newslist01 { font-size:12px;}
							.newslist01 li { line-height:24px;}
							.newslist01 li .ding { color:#F30; margin-left:5px}
							.newslist01 li .time { float:right; font-size:12px; color:#888}
						</style>
						<div class="warpbox">
						    <!--# 选项卡 -->
						        <div class="table_card">
						            <ul class="tab">
						               <li class="activ">实时新闻</li>
						               <li class="activ">综合新闻</li>
						               
						            </ul>
						            <div class="tabCon">
						            	<div class="on"style="height: 220px;overflow: auto"id="box">
						                    <ul class="newslist01">
						                    	{volist name="list" id="v"}
						                        <li>
						                        	<a href="<{$v->link}>" style="margin-left: 7px;"target="_blank"><{$v->title}></a>
						                        	<span style="width:80px; display:block;overflow: hidden; white-space: nowrap;text-overflow: ellipsis" class="time"><{$v->pubDate}></span>
						                        </li>
						                        {/volist}
						                    </ul>
						                </div>
						                <div class="on1">
						                    <ul class="newslist02">
						                    	{volist name="news" id="vo"}
						                    	{if condition="$vo['status'] neq 0"}
						                        <li><a href="<{$vo.url}>"style="width: 420px;"target="_blank"><{$vo.desc}>
						                        {if condition="$vo['type'] neq 0"}
						                        <span class="ding">【版主推荐】</span>
						                        {else}<span class="ding"></span>
						                        {/if}
						                        <span class="ding"style="width: 80px;float: right;display:block;overflow: hidden; white-space: nowrap;text-overflow: ellipsis"><?php echo date('Y/m/d',$vo['addtime']);?></span></a>
						                        </li>
						                        {/if}
						                        {/volist}
						                        
						                    </ul>
						                </div>
						            </div>
						            
						        </div>
							<!--#@ 选项卡 -->
						</div>
					</div>
					<script src="__IJS__/jquery-1.8.3.min.js"></script>
					<div class="mn">
						<div class="fl bm">
							<div class="bm bmw  flg cl">
								<div class="bm_h cl">
									<span class="o"><img id="category_1_img" src="__IIMG__/collapsed_no.gif" title="收起/展开" alt="收起/展开"></span>

									<span class="y"><a style="color:black;">版主: </a>
									{foreach name="banzhu" id="vo"}
									<a href="<{:url('user/index',array('id'=>$vo.userid))}>"><{$vo.name}></a>
									{/foreach}

									</span>
									<h2><a href="" style="line-height:30px;"><{$title}></a></h2>
								</div>
								<div id="category_1" class="bm_c" style="display:block">
									<table cellspacing="0" cellpadding="0" class="fl_tb ">
										{volist name="data" id="val"}
										<tr>
                                            <td style="height:100px;width:80px">
                                                <div style="width: 64px;margin-top:-30px;">
                                                    <a href=""><img src="__IIMG__/<{$val.image}>"></a>
                                                </div>
                                            </td>
                                            <td>
                                                <h2><a href="<{:url('notelist/index',array('id'=>$val.id))}>"><{$val.catename}></a><em class="xw0 xi1">&nbsp;</em></h2>
                                                <a style="margin-left:-14%" href="<{:url('post/index',array('id'=>$val.note.id))}>">最新帖子：
												{if condition="$val.note neq ''"}
                                                <{$val.note.title}>。
												{else}暂无最新数据,请去发表帖子吧。
												{/if}
                                                </a>
                                                
                                            </td>
                                            <td class="fl_i">
                                            	{if condition="$val.note neq ''"}
                                                <span class="xi2"><span title="<{$val.note.respond}>"><{$val.note.respond}></span></span><span class="xg1"> / <span title="<{$val.note.scan}>"><{$val.note.scan}></span></span>
												{/if}
                                                </a>
                                                
                                            </td>
                                            <td class="fl_by">
                                                <div> <a><{$val.note.time}></a> <a href="<{:url('user/index',array('id'=>$val.note.uid))}>"><{$val.note.name}></a>
                                                </div>
                                            </td>
										</tr>
										{/volist}
									</table>
								</div>
							</div>
					</div>
				</div>
			</div>

			<div class="container">
				<div class="row">
					<div class="col-md-10" style="height:10px;border-top:1px solid black;margin:10px 0 0 -10px;">
					</div>
				</div>
				<div class="row">
					<p class="col-md-2 ">Powered by <b>Discuz!</b> X2.5</p>
					<p class="col-md-3 col-md-offset-6">
						<a href="">Archiver</a>
						<a href="">论坛首页</a>
						<a href=""><img src="__IIMG__/qq.png"></a>
						<a href=""><img src="__IIMG__/toss.gif"></a>
					</p>

				</div>
				<div class="row">
					<p class="col-md-3">© 2001-2012 Comsenz Inc.</p>
					<p class="col-md-3 col-md-offset-5"><b>GMT+8</b> ,time :
						<{:date( "h:i:s")}>
					</p>
				</div>
				<div class="row">
					<div class="col-md-10 col-md-offset-1" style="margin-top:20px;">
					</div>
				</div>
			</div>
			<!-- 引入jQuery -->
			<script src="__JS__/jquery.min.js"></script>
			<!-- bootstrap的JS文件必须放在JQ引入之后! -->
			<script src="__JS__/bootstrap.min.js"></script>
	</body>

</html>